<div class='submitDiv'>
	<button class='btn' callFunc='click:savePro'>提交</button>
	<button class='btn' callFunc='click:reLoad'>清空</button>
</div>
<script>
yanhx.addFunc("reLoad",function(){
	location.href=location.href;
});
yanhx.addFunc("savePro",function(){
	//获取工程基本信息
	var pro=$("#pro_base").getBean();
	//获取公司参与及其他信息
	var com=$("#pro_extend").getBean();
	var bean={
		project:pro,
		cust:com.cust,
		pro_member:com.pro_member,
		pro_level:com.pro_level
	};
	delete com.cust;
	delete com.pro_member;
	delete com.pro_level;
	bean.other=com;
	$.java({
		action:"project.savePro",
		param:bean,
		callback:function(data){
			$.alert(data.mes,function(){
				
			});
		}
	});
});
</script>